{% extends 'layout.html' %}
{% block content %}
<div class="card-body">
  <p style="font-family: 华文仿宋; font-size: 15px; font-weight: 600">
    新建部门
  </p>
  <div>
    <form action="" method="post">
      {% csrf_token %}
      <input
        class="form-control"
        type="text"
        name="title"
        placeholder="Department Name ..."
        aria-label="default input example"
        v-model="titleValue"
        @change="titleBlur"
        style="
          font-family: 'Tw Cen MT', 华文仿宋;
          width: 700px;
          font-size: 14px;
        "
      />
      <button
        type="submit"
        class="btn btn-primary mb-3"
        :disabled="this.titleValue === '' "
        style="
          margin-top: 20px;
          width: 70px;
          height: 32px;
          font-size: 13px;
          font-family: 华文宋体;
        "
      >
        保存
      </button>
    </form>
  </div>
</div>

{% endblock %}